﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link rel="Stylesheet" type="text/css" href="/TurnShop/CSS/Style.css"/>
    <script type="text/javascript">
        function validate() {
            var text3=document.getElementById("Text3").value;
            if (document.getElementById("Text1").value == "") {
                alert("hãy gõ tên bạn");
                return false;
            }
            else if (document.getElementById("Text2").value == "") {
                alert("hãy gõ email");
                return false;
            }
            else if (document.getElementById("Text3").value == "") {
                alert("hãy gõ điện thoại");
                return false;
            }
            else if (document.getElementById("Text4").value == "") {
                alert("hãy gõ góp ý");
                return false;
            }
            else if (document.getElementById("Text2").value.indexOf('@') == -1) {
                alert("ban nhap email chua chuan");
                return false;
            }
            else if (document.getElementById("Text3").value.length == 10 && document.getElementById("Text3").value.length == 11) {
                for (var i = 0; i < text3.length; i++) {
                    var ch = text3.charAt(i)
                    if (ch < "0" || ch > "9") {
                        alert("So dt khong chua chu");
                        return false;
                    }
                }
            }
            else if (document.getElementById("Text3").value.length != 10 && document.getElementById("Text3").value.length != 11) {
                alert("số đt có 10 hoặc 11 số");
                return false;
            }
            else {
                 return true;
            }

        }

    </script>
</head>
<body>
  <div id="wrap-bar">
        <div class="contentContainer" id="header">
            <div class="menu">
                <ul class="menu">
                    <li>
                    <a id="mainPage" href="index.htm" title="Turnshop - Chắp cánh tri thức">Trang chủ</a>
                    </li>
                    <li>
                        <a id="order" href="order.htm" title="Đặt mua sách trực tuyến">Đặt mua</a>
                    </li>
                    <li>
                        <a id="tutorials" href="tutorials.htm" title="Hướng dẫn sử dụng website">Hướng dẫn</a>
                    </li>
                    <li>
                        <a id="about" href="about.htm">Giới thiệu</a>
                    </li>
                    <li>
                        <a id="contact" href="contact.htm">Liên hệ</a>
                    </li>
                    <li id="endlist" style="background:url(/TurnShop/Image/oo_666.gif) no-repeat scroll left center;padding-left:12px;margin-left:5px">
                        <a id="feedback" href="feedback.htm">Góp ý</a>
                    </li>
                </ul>
            </div>
            <table>
                <tbody>
                    <tr>
                        <td rowspan="2">
                            <a href="index.htm">
                                <img alt="Trang chủ Turnshop - Sách, tạp chí, tiểu thuyết, từ điển| Turnshop - Chắp cánh tri thức"
                                    class="no-border" src="/TurnShop/Image/logo.png" width="250px" height="75px"/>
                            </a>
                        </td>
                        <td style="height:25px"></td>
                    </tr>
                    
                    <tr>
                        <td>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="seperator">
                <b id="seperator1"></b>
            </div>
            <div class="categories">
                <div id="mainCategory">
                    <!-- 
                    Neu dung table se ko dieu chinh dc do rong
                    Khi do rong tang se bi tran le
                    -->
                    <ul class="categories">
                        <li>
                            <a href="/TurnShop/index.htm">TRANG CHỦ</a>
                        </li>
                        <li>
                            <a href="/TurnShop/XML/books.xml">SÁCH</a>
                        </li>
                        <li>
                            <a href="/TurnShop/XML/journals.xml">TẠP CHÍ KHOA HỌC</a>
                        </li>
                        <li>
                            <a href="/TurnShop/XML/magazines.xml">TẠP CHÍ</a>
                        </li>
                        <li>
                            <a href="/TurnShop/XML/novels.xml">TIỂU THUYẾT</a>
                        </li>
                        <li>
                            <a href="/TurnShop/XML/encyclopedias.xml">TỪ ĐIỂN</a>
                        </li>
                        <li>
                            <a href="/TurnShop/index.htm#">TIN TỨC</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div id="content" class="contentContainer">
            <div id="advertise" class="twoColumn">
                <div class="left">
                    <object width="100%" height="100%" 
                            classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                            codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0">
                        <param name="movie" value="/TurnShop/Flash/halloween.swf" />
                        <param name="quality" value="high" />
                        <param name="BGCOLOR" value="#000000" />
                        <param name="menu" value="false" />
                        <param name="wmode" value="transparent" />
                        <embed width="100%" height="100%" name="plugin"
   
                                src="/TurnShop/Flash/23.swf"
                                type="application/x-shockwave-flash"
                                wmode="transparent"
                                pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" >
                        </embed>
                    </object>
                </div>
                <div class="right">
                    <label>Hỗ trợ kĩ thuật</label>
                    <a href="ymsgr:sendim?binhnx218">
                        <img alt="Send messenge" class="no-border" src="http://opi.yahoo.com/online?u=binhnx218&m=g&t=2&l=us"/>
                    </a>
                    <label>Mr. Bình - 0169.267.0007</label>

                    <a href="ymsgr:sendim?rossoneri_195">
                        <img alt="Send messenge" class="no-border" src="http://opi.yahoo.com/online?u=rossoneri_195&m=g&t=2&l=us"/>
                    </a>
                    <label>Mr. Tín - 094.981.9690</label>

                    <a href="ymsgr:sendim?ng.congphuong">
                        <img alt="Send messenge" class="no-border" src="http://opi.yahoo.com/online?u=ng.congphuong&m=g&t=2&l=us"/>
                    </a>
                    <label>Mr. Phương</label>
                </div>
            </div>
            <div>
            <form action="feedback.htm" onsubmit="return validate()">
                <table style="width:100%;">
                    <tr>
                        <td>
                            Tên</td>
                        <td>
                            <input id="Text1" type="text" /></td>

                    </tr>
                    <tr>
                        <td class="style1">
                            Email</td>
                        <td class="style1">
                            <input id="Text2" type="text" /></td>
                    </tr>
                    <tr>
                        <td>
                            Số ĐT</td>
                        <td>
                            <input id="Text3" type="text" /></td>

                    </tr>
                    <tr>
                        <td>
                            Góp ý</td>
                        <td>
                            <input id="Text4" type="text" /></td>
                    </tr>
                </table>
            <p>
                <input id="Button1" type="submit" value="Submit"/></p>
                </form>
            </div>
        </div>
        <div id="footer" class="contentContainer">
        </div>
    </div>
</body>
</html>
